﻿using B.S.RbacData.ErrorCode;
using B.S.RbacData.Read.API.Dtos;
using MediatR;

namespace B.S.RbacData.Read.API.Applications.Commands
{

    /// <summary>
    /// 登录命令
    /// </summary>
    public class LoginCommand:IRequest<ApiResult<LoginDtos>>
    {

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; } = null!;


        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; } = null!;

    }
}
